projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f87c15f
)
searchbar: Set a focus vfunc
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 13 Jul 2020 19:06:08 +0000
(15:06 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 13 Jul 2020 19:06:08 +0000
(15:06 -0400)
We don't want to take focus ourselves here.
gtk/gtksearchbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtksearchbar.c
b/gtk/gtksearchbar.c
index c0624268c5730876379c0e90c79f48d55be404e3..f7cb05a17d1ef8fb2da67a78b64ca83952c655c4 100644
(file)
--- a/
gtk/gtksearchbar.c
+++ b/
gtk/gtksearchbar.c
@@
-294,6
+294,7
@@
gtk_search_bar_class_init (GtkSearchBarClass *klass)
object_class->get_property = gtk_search_bar_get_property;
widget_class->compute_expand = gtk_search_bar_compute_expand;
+ widget_class->focus = gtk_widget_focus_child;
/**
* GtkSearchBar:search-mode-enabled: